#pragma once
#include <d3dx9.h>
#include "TwEngineDx.h"

class sa_TwMeshFile
{
public:
	sa_TwMeshFile(void);
	~sa_TwMeshFile(void);

	void InitGraphics();

	void InitRenderState();

	void InitLight();

	void Update();

	void Render();

	void Clear();

private:
	// mesh declarations
	LPD3DXMESH meshSpaceship;    // define the mesh pointer
	D3DMATERIAL9* material;    // define the material object
	DWORD numMaterials;    // stores the number of materials in the mesh
};
